package com.dst.smart.model;

public class RootPath {
	private String rootPath;
	private String rootName;
	private int rootWay;
	private String rootID;
	private int connectState;
	private int messageBack;
	private int language;
	private String rootTime;
	private int isSpeech;
	private int isLoop;
	private int isFeedBack;
	private int Interactive;
	private String serviceIP;
	private String city;
	private int isVoiceAutoAdj;
	private String AirQuality;
	private String illumination;

	/**
	 * @return the language
	 */
	public int getLanguage() {
		return language;
	}

	/**
	 * @param language
	 *            the language to set
	 */
	public void setLanguage(int language) {
		this.language = language;
	}

	/**
	 * @return the messageBack
	 */
	public int getMessageBack() {
		return messageBack;
	}

	/**
	 * @param messageBack
	 *            the messageBack to set
	 */
	public void setMessageBack(int messageBack) {
		this.messageBack = messageBack;
	}

	/**
	 * @return the connectState
	 */
	public int getConnectState() {
		return connectState;
	}

	/**
	 * @param connectState
	 *            the connectState to set
	 */
	public void setConnectState(int connectState) {
		this.connectState = connectState;
	}

	/**
	 * @return the rootPath
	 */
	public String getRootPath() {
		return rootPath;
	}

	/**
	 * @param rootPath
	 *            the rootPath to set
	 */
	public void setRootPath(String rootPath) {
		this.rootPath = rootPath;
	}

	/**
	 * @return the rootName
	 */
	public String getRootName() {
		return rootName;
	}

	/**
	 * @param rootName
	 *            the rootName to set
	 */
	public void setRootName(String rootName) {
		this.rootName = rootName;
	}

	/**
	 * @return the rootWay
	 */
	public int getRootWay() {
		return rootWay;
	}

	/**
	 * @param rootWay
	 *            the rootWay to set
	 */
	public void setRootWay(int rootWay) {
		this.rootWay = rootWay;
	}

	/**
	 * @return the rootID
	 */
	public String getRootID() {

		if(rootID==null){
			rootID="";
		}
		return rootID;
	}

	/**
	 * @param rootID
	 *            the rootID to set
	 */
	public void setRootID(String rootID) {
		this.rootID = rootID;
	}

	public int getIsSpeech() {
		return isSpeech;
	}

	public void setIsSpeech(int isSpeech) {
		this.isSpeech = isSpeech;
	}

	//isVoiceAutoAdj
	public int getIsVoiceAutoAdj() {
		return isVoiceAutoAdj;
	}

	public void setIsVoiceAutoAdj(int isVoiceAutoAdj) {
		this.isVoiceAutoAdj = isVoiceAutoAdj;
	}
	/**
	 * @return the rootTime
	 */
	public String getRootTime() {
		return rootTime;
	}

	/**
	 * @param rootTime
	 *            the rootTime to set
	 */
	public void setRootTime(String rootTime) {
		this.rootTime = rootTime;
	}

	/**
	 * @return the isLoop
	 */
	public int getIsLoop() {
		return isLoop;
	}

	/**
	 * @param isLoop
	 *            the isLoop to set
	 */
	public void setIsLoop(int isLoop) {
		this.isLoop = isLoop;
	}

	/**
	 * @return the isFeedBack
	 */
	public int getIsFeedBack() {
		return isFeedBack;
	}

	/**
	 * @param isFeedBack
	 *            the isFeedBack to set
	 */
	public void setIsFeedBack(int isFeedBack) {
		this.isFeedBack = isFeedBack;
	}

	// Interactive
	public int getInteractive() {
		return Interactive;
	}

	/**
	 * @param Interactive
	 *            the Interactive to set
	 */
	public void setInteractive(int Interactive) {
		this.Interactive = Interactive;
	}

	public String getServiceIP() {
		return serviceIP;
	}

	public void setServiceIP(String serviceIP) {
		this.serviceIP = serviceIP;
	}

	public String getCity() {
		if(city==null){
			city="";
		}
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAirQuality() {
		if(AirQuality==null){
			AirQuality="0,0,0,0,0,0,0";
		}
		return AirQuality;
	}

	public void setAirQuality(String AirQuality) {
		this.AirQuality = AirQuality;
	}

	public String getIllumination() {
		if(illumination==null){
			illumination="0,0,0,0,0,0,0";
		}
		return illumination;
	}

	public void setIllumination(String illumination) {
		this.illumination = illumination;
	}

}
